package com.panfeng.xcloud.component.trace.filter;

import lombok.extern.slf4j.Slf4j;

import javax.servlet.*;
import java.io.IOException;

/**
 * 空Filter类
 * @author xiaobo
 * @version 1.0
 * @since 2018-08-21
 */
@Slf4j
public class NotFilter implements Filter {

	@Override
	public void destroy() {
	}

	@Override
	public void doFilter(ServletRequest req, ServletResponse res,
			FilterChain fc) throws IOException, ServletException {
		fc.doFilter(req, res);
	}

	@Override
	public void init(FilterConfig arg0) {
		log.info(">>> init notFilter <<<");
	}

}
